package ru.shadieq.finance.tracker.persistent.dao;

import java.io.Serializable;

/**
 * Created by Shadieq on 14.12.2014.
 */
public interface BaseDao<ENTITY, KEY extends Serializable> {
    void add(ENTITY entity);
    void delete(ENTITY entity);
    void update(ENTITY entity);
    ENTITY get(KEY id);
}
